public class Test11 {
    public static void main(String[] args) {
     Double money= 2.5;
    int day=1;
    while (money<100){
        money+=2.5;
        day++;
        if(day%5==0){
            money-=6;
        }
    }
    System.out.print("第"+day+"天，存了"+money);
    }

}
